Component({
    properties: {
        title: {
            type: String,
            value: "确认提示"
        },
        cancelText: {
            type: String,
            value: "取消"
        },
        confirmText: {
            type: String,
            value: "确认"
        }
    },
    data: {
        show: !1
    },
    methods: {
        onClose: function() {
            this.setData({
                show: !1
            }), this.triggerEvent("changeScroll", {});
        },
        show: function() {
            this.setData({
                show: !0
            }), this.triggerEvent("changeScroll", {});
        },
        tappingConfirm: function() {
            this.triggerEvent("confirm", {});
        }
    }
});